<!DOCTYPE html>
<?php
$first=!($_POST);
$id=$_GET['id'];
?>

<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
      
     <?php      
     

            
        $hostname="127.0.0.1";
        $username="root";
        $password="123456";
        $database="mysql123";

        $connet=mysqli_connect($hostname, $username, $password, $database);
        mysqli_set_charset($connet, "utf-8");
        
        if($connet){
           $sqlstring="insert into user_inf(uname,age,ipx) "
                  ." values('$uname','$uage','$newurl')";
            $sqlstring="
                delete from user_inf 
                where `uid`='$id' ";
              $result= mysqli_query($connet, $sqlstring);
              echo "删除成功。";
//            $row= mysqli_fetch_array($result);
              mysqli_close($connet);
        }
        
        
        

  
       ?>
    </body>
</html>